Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_COUNT

GRIB_COUNT

The GRIB_COUNT function returns the number of messages in the file.

Syntax

Result = GRIB_COUNT(Filename)

Return Value

Returns the number of messages in the file.

Arguments

Filename

The name of the file to be searched.

Examples

See GRIB_GET_VALUESfor a general example using the GRIB routines.

Version History

8.1

Introduced

See Also

GRIB_GET_MESSAGE_SIZE